Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a raw string for schema #67

Merged
merged 1 commit into from
Mar 28, 2018
Merged

Use a raw string for schema #67

merged 1 commit into from
Mar 28, 2018

Conversation

vektah
Copy link
Collaborator

@vektah vektah commented Mar 28, 2018

Instead of using strconv.Quote to bake the schema into the file, use a raw string instead.

Having newlines means git should be able to resolve conflicts in the generated files if two people make non conflicting changes.

@vektah vektah merged commit 893ead1 into master Mar 28, 2018
@vektah vektah deleted the raw-schema-string branch March 28, 2018 11:08
cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant